<?php
/**
 * @Author: Guo_ShiXin
 * @Date: 2017-6-28
 * @Time: 14:22
 * @File: View.php
 */
class View extends MY_Controller
{
    /**
     * 入口文件
     * 请求方法的测试
     */
//    public function index()
//    {
//        echo 111;
//    }
    public function index_get()
    {
        echo 'Get request test';
        print_r($_SERVER['REQUEST_URI']);
//        print_r($_SERVER);
    }

    public function index_post()
    {
        echo 'Post request test';
    }

    public function index_put()
    {
        echo 'Put request test';
    }

    public function index_delete()
    {
        echo 'Delete request test';
    }

}